package com.kcwl.carrier.domain.repository;

import com.kcwl.carrier.domain.entity.RegularRoutesInfo;
import com.kcwl.carrier.infrastructure.repository.po.RegularRoutesInfoPO;
import com.kcwl.ddd.domain.repository.IBaseRepository;

import java.util.List;

public interface IRegularRoutesInfoRepository extends IBaseRepository<RegularRoutesInfoPO> {

    Integer addRoute(RegularRoutesInfo regularRoutesInfo);

    Integer updateRoute(RegularRoutesInfo regularRoutesInfo);

    Integer delRoute(RegularRoutesInfo regularRoutesInfo);

    List<RegularRoutesInfo> listRoute(RegularRoutesInfo regularRoutesInfo);
}
